@layout("/common/_form.html",{js:["/assets/modular/metadataCol/metadataCol/metadataCol_edit.js"]}){

<form class="layui-form" id="metadataColForm" lay-filter="metadataColForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="metadataColId" type="hidden"/>
                    <input id="isDelete" name="isDelete" placeholder="请输入是否删除；0代表删除；1代表可用" type="hidden" class="layui-input" lay-verify="required" required/>
                    <input id="metadataId" name="metadataId" placeholder="请输入元数据编码" type="hidden" class="layui-input" lay-verify="required" required/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">字段中文名<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="columnName" name="columnName" placeholder="请输入字段中文名" style="color: silver;cursor: no-drop" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">字段英文名<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="metadataColName" name="metadataColName" placeholder="请输入字段英文名" style="color: silver;cursor: no-drop" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">字段类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="type" id="type" lay-filter="type" lay-verify="required" required>
                                <option value="">请选择字段类型</option>
                                <option value="字符">字符</option>
                                <option value="数字">数字</option>
                                <option value="时间">时间</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">数据长度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="metadataColNumber" name="metadataColNumber" placeholder="请输入数据长度" style="color: silver;cursor: no-drop" type="text" class="layui-input" lay-verify="required" required disabled/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否必填<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="radio" name="isRequired" value="1" title="是" lay-verify="required" required>
                            <input type="radio" name="isRequired" value="2" title="否" lay-verify="required" required>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">填写格式<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="writeType" name="writeType" placeholder="请输入填写格式" style="color: silver;cursor: no-drop" type="text" class="layui-input" lay-verify="required" required disabled/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}